Class: Localytics::App
- Inherits:
-
Object
- Object
- Localytics::App
- Defined in:
- lib/localytics/app.rb
Class Attribute Summary collapse
-
.app_id ⇒ Object
Returns the value of attribute app_id.
Class Method Summary collapse
- .app_attributes(app_id = nil, api_key = nil, api_secret = nil) ⇒ Object
- .show_app(app_id = nil, api_key = nil, api_secret = nil) ⇒ Object
- .show_apps(app_id = nil, api_key = nil, api_secret = nil) ⇒ Object
Class Attribute Details
.app_id ⇒ Object
Returns the value of attribute app_id.
5 6 7 |
# File 'lib/localytics/app.rb', line 5 def app_id @app_id end |
Class Method Details
.app_attributes(app_id = nil, api_key = nil, api_secret = nil) ⇒ Object
12 13 14 |
# File 'lib/localytics/app.rb', line 12 def self.app_attributes(app_id=nil, api_key=nil, api_secret=nil) Localytics.request api_base, :get, url(app_id, true), api_key, api_secret end |
.show_app(app_id = nil, api_key = nil, api_secret = nil) ⇒ Object
8 9 10 |
# File 'lib/localytics/app.rb', line 8 def self.show_app(app_id=nil, api_key=nil, api_secret=nil) Localytics.request api_base, :get, url(app_id), api_key, api_secret end |
.show_apps(app_id = nil, api_key = nil, api_secret = nil) ⇒ Object
16 17 18 |
# File 'lib/localytics/app.rb', line 16 def self.show_apps(app_id=nil, api_key=nil, api_secret=nil) Localytics.request api_base, :get, '', api_key, api_secret end |