Module: LosantRest
- Defined in:
- lib/losant_rest.rb,
lib/losant_rest/me.rb,
lib/losant_rest/org.rb,
lib/losant_rest/auth.rb,
lib/losant_rest/data.rb,
lib/losant_rest/flow.rb,
lib/losant_rest/orgs.rb,
lib/losant_rest/error.rb,
lib/losant_rest/event.rb,
lib/losant_rest/flows.rb,
lib/losant_rest/utils.rb,
lib/losant_rest/client.rb,
lib/losant_rest/device.rb,
lib/losant_rest/events.rb,
lib/losant_rest/devices.rb,
lib/losant_rest/version.rb,
lib/losant_rest/webhook.rb,
lib/losant_rest/solution.rb,
lib/losant_rest/webhooks.rb,
lib/losant_rest/dashboard.rb,
lib/losant_rest/solutions.rb,
lib/losant_rest/dashboards.rb,
lib/losant_rest/application.rb,
lib/losant_rest/access_token.rb,
lib/losant_rest/applications.rb,
lib/losant_rest/access_tokens.rb,
lib/losant_rest/device_recipe.rb,
lib/losant_rest/solution_user.rb,
lib/losant_rest/device_recipes.rb,
lib/losant_rest/solution_users.rb,
lib/losant_rest/application_key.rb,
lib/losant_rest/application_keys.rb
Defined Under Namespace
Classes: AccessToken, AccessTokens, Application, ApplicationKey, ApplicationKeys, Applications, Auth, Client, Dashboard, Dashboards, Data, Device, DeviceRecipe, DeviceRecipes, Devices, Event, Events, Flow, Flows, Me, Org, Orgs, ResponseError, Solution, SolutionUser, SolutionUsers, Solutions, Utils, Webhook, Webhooks
Constant Summary
collapse
- VERSION =
"1.0.7"
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.client ⇒ Object
35
36
37
|
# File 'lib/losant_rest.rb', line 35
def self.client
@client ||= Client.new
end
|
.method_missing(sym, *args, &block) ⇒ Object
39
40
41
|
# File 'lib/losant_rest.rb', line 39
def self.method_missing(sym, *args, &block)
self.client.__send__(sym, *args, &block)
end
|
Instance Method Details
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
43
44
45
|
# File 'lib/losant_rest.rb', line 43
def respond_to_missing?(method_name, include_private = false)
self.client.respond_to?(method_name, include_private)
end
|