Class: Bubbles::Resources
- Inherits:
-
RestClientResources
- Object
- RestClientResources
- Bubbles::Resources
- Defined in:
- lib/bubbles.rb
Instance Method Summary collapse
- #get_version_info ⇒ Object
-
#initialize(api_key = '') ⇒ Resources
constructor
A new instance of Resources.
Methods inherited from RestClientResources
build_composite_headers, #environment, execute_delete_authenticated, execute_delete_unauthenticated, execute_get_authenticated, execute_get_unauthenticated, execute_head_authenticated, execute_head_unauthenticated, execute_patch_authenticated, execute_patch_unauthenticated, execute_post_authenticated, execute_post_unauthenticated, execute_put_authenticated, execute_put_unauthenticated, get_encoded_authorization
Constructor Details
#initialize(api_key = '') ⇒ Resources
Returns a new instance of Resources.
13 14 15 16 17 18 19 |
# File 'lib/bubbles.rb', line 13 def initialize(api_key='') super @packageName = Bubbles::VersionInformation.package_name @versionName = Bubbles::VersionInformation.version_name @versionCode = Bubbles::VersionInformation.version_code end |
Instance Method Details
#get_version_info ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/bubbles.rb', line 21 def get_version_info { :name => @packageName, :versionName => @versionName, :versionCode => @versionCode } end |