Class: SugarcrmRest::Connect
- Inherits:
-
Object
- Object
- SugarcrmRest::Connect
- Defined in:
- lib/sugarcrm_rest.rb
Instance Attribute Summary collapse
-
#consumer_key ⇒ Object
readonly
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
readonly
Returns the value of attribute consumer_secret.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#platform ⇒ Object
readonly
Returns the value of attribute platform.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(consumer_key, consumer_secret, username, password, platform, url) ⇒ Connect
constructor
A new instance of Connect.
Constructor Details
#initialize(consumer_key, consumer_secret, username, password, platform, url) ⇒ Connect
Returns a new instance of Connect.
13 14 15 16 17 18 19 20 |
# File 'lib/sugarcrm_rest.rb', line 13 def initialize(consumer_key,consumer_secret,username,password,platform,url) @consumer_key=consumer_key @consumer_secret=consumer_secret @username=username @password=password @platform=platform @url=url end |
Instance Attribute Details
#consumer_key ⇒ Object (readonly)
Returns the value of attribute consumer_key.
12 13 14 |
# File 'lib/sugarcrm_rest.rb', line 12 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object (readonly)
Returns the value of attribute consumer_secret.
12 13 14 |
# File 'lib/sugarcrm_rest.rb', line 12 def consumer_secret @consumer_secret end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
12 13 14 |
# File 'lib/sugarcrm_rest.rb', line 12 def password @password end |
#platform ⇒ Object (readonly)
Returns the value of attribute platform.
12 13 14 |
# File 'lib/sugarcrm_rest.rb', line 12 def platform @platform end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
12 13 14 |
# File 'lib/sugarcrm_rest.rb', line 12 def url @url end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
12 13 14 |
# File 'lib/sugarcrm_rest.rb', line 12 def username @username end |