Class: GalileoProcessingWrapper
- Inherits:
-
Object
- Object
- GalileoProcessingWrapper
- Defined in:
- lib/galileo_processing/api_wrapper.rb
Instance Attribute Summary collapse
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
- #createAccount ⇒ Object
-
#initialize ⇒ GalileoProcessingWrapper
constructor
A new instance of GalileoProcessingWrapper.
Constructor Details
#initialize ⇒ GalileoProcessingWrapper
Returns a new instance of GalileoProcessingWrapper.
6 7 8 |
# File 'lib/galileo_processing/api_wrapper.rb', line 6 def initialize() @gp_rest_client = GPRestClient.new end |
Instance Attribute Details
#user ⇒ Object
Returns the value of attribute user.
4 5 6 |
# File 'lib/galileo_processing/api_wrapper.rb', line 4 def user @user end |
Instance Method Details
#createAccount ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/galileo_processing/api_wrapper.rb', line 10 def createAccount() begin @user = @gp_rest_client.createAccount() rescue Exception => e puts e. end return @user end |