Class: Wework::Engine
- Inherits:
-
Object
- Object
- Wework::Engine
- Defined in:
- lib/wework/engine.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
readonly
Returns the value of attribute app_id.
-
#app_secret ⇒ Object
readonly
Returns the value of attribute app_secret.
-
#corp_id ⇒ Object
readonly
Returns the value of attribute corp_id.
-
#corp_secret ⇒ Object
readonly
Returns the value of attribute corp_secret.
Instance Method Summary collapse
- #agent ⇒ Object
- #contact ⇒ Object
-
#initialize(options = {}) ⇒ Engine
constructor
A new instance of Engine.
Constructor Details
#initialize(options = {}) ⇒ Engine
Returns a new instance of Engine.
6 7 8 9 10 11 |
# File 'lib/wework/engine.rb', line 6 def initialize(={}) @corp_id = [:corp_id] @corp_secret = [:corp_secret] @app_id = [:app_id] @app_secret = [:app_secret] end |
Instance Attribute Details
#app_id ⇒ Object (readonly)
Returns the value of attribute app_id.
4 5 6 |
# File 'lib/wework/engine.rb', line 4 def app_id @app_id end |
#app_secret ⇒ Object (readonly)
Returns the value of attribute app_secret.
4 5 6 |
# File 'lib/wework/engine.rb', line 4 def app_secret @app_secret end |
#corp_id ⇒ Object (readonly)
Returns the value of attribute corp_id.
4 5 6 |
# File 'lib/wework/engine.rb', line 4 def corp_id @corp_id end |
#corp_secret ⇒ Object (readonly)
Returns the value of attribute corp_secret.
4 5 6 |
# File 'lib/wework/engine.rb', line 4 def corp_secret @corp_secret end |