class BitGirder::Http::HttpEndpoint

Attributes

host[R]
is_ssl[R]
port[R]

Public Class Methods

from_mingle_struct( ms ) click to toggle source
# File lib/bitgirder/http.rb, line 115
def self.from_mingle_struct( ms )
    
    self.new(
        :host => ms.fields.get_string( :host ),
        :port => ms.fields.get_int( :port ),
        :is_ssl => ms.fields.get_boolean( :is_ssl )
    )
end
new( opts = {} ) click to toggle source

Default constructor which takes a hash containing the following attributes:

:host
:is_ssl
:port
# File lib/doc-gen20.rb, line 65
def initialize( opts = {} )
    # Autogenerated stub for docs
end

Public Instance Methods

to_mingle_struct() click to toggle source
# File lib/bitgirder/http.rb, line 103
def to_mingle_struct

    MingleStruct.new(
        :type => :"bitgirder:http@v1/HttpEndpoint",
        :fields => {
            :host => @host,
            :port => @port,
            :is_ssl => @is_ssl
        }
    )
end