client/client.rb
# Create and return MAGELLAN client instance.
# @return [Libmagellan] MAGELLAN client
Create and return MAGELLAN client instance.
Create and return MAGELLAN client instance .
def client
    @client_ ||= Libmagellan.new(MAGELLAN_HTTP_SERVER,
                                 consumer_key: MAGELLAN_CONSUMER_KEY,
                                 consumer_secret: MAGELLAN_CONSUMER_SECRET,
                                 client_version: MAGELLAN_CLIENT_VERSION,
                                 mqtt_host: MAGELLAN_MQTT_SERVER_HOST,
                                 mqtt_port: MAGELLAN_MQTT_SERVER_PORT)
  end
def client @client_ ||= Libmagellan . new ( MAGELLAN_HTTP_SERVER , consumer_key : MAGELLAN_CONSUMER_KEY , consumer_secret : MAGELLAN_CONSUMER_SECRET , client_version : MAGELLAN_CLIENT_VERSION , mqtt_host : MAGELLAN_MQTT_SERVER_HOST , mqtt_port : MAGELLAN_MQTT_SERVER_PORT ) end
Create and return MAGELLAN client instance.
Create and return MAGELLAN client instance .
None
Libmagellan