Class: Bubblez::Resources
- Inherits:
-
RestClientResources
- Object
- RestClientResources
- Bubblez::Resources
- Defined in:
- lib/bubblez.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.
12 13 14 15 16 17 18 |
# File 'lib/bubblez.rb', line 12 def initialize(api_key='') super @package_name = Bubblez::VersionInformation.package_name @version_name = Bubblez::VersionInformation.version_name @version_code = Bubblez::VersionInformation.version_code end |
Instance Method Details
#get_version_info ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/bubblez.rb', line 20 def get_version_info { :name => @package_name, :version_name => @version_name, :version_code => @version_code } end |