Class: Razrbit::HTTP
- Inherits:
-
Object
- Object
- Razrbit::HTTP
- Defined in:
- lib/razrbit/http.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#app_id ⇒ Object
Returns the value of attribute app_id.
-
#app_secret ⇒ Object
Returns the value of attribute app_secret.
Instance Method Summary collapse
-
#initialize(app_id: nil, app_secret: nil) ⇒ HTTP
constructor
A new instance of HTTP.
Constructor Details
#initialize(app_id: nil, app_secret: nil) ⇒ HTTP
Returns a new instance of HTTP.
8 9 10 11 |
# File 'lib/razrbit/http.rb', line 8 def initialize(app_id: nil, app_secret: nil) @app_id = app_id @app_secret = app_secret end |
Instance Attribute Details
#app_id ⇒ Object
Returns the value of attribute app_id.
6 7 8 |
# File 'lib/razrbit/http.rb', line 6 def app_id @app_id end |
#app_secret ⇒ Object
Returns the value of attribute app_secret.
6 7 8 |
# File 'lib/razrbit/http.rb', line 6 def app_secret @app_secret end |