Class: Rubyflare::Connect
- Inherits:
-
Object
- Object
- Rubyflare::Connect
- Defined in:
- lib/rubyflare/connect.rb
Constant Summary collapse
- API_URL =
"https://api.cloudflare.com/client/v4/"
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(email, api_key) ⇒ Connect
constructor
A new instance of Connect.
Constructor Details
#initialize(email, api_key) ⇒ Connect
Returns a new instance of Connect.
8 9 10 11 |
# File 'lib/rubyflare/connect.rb', line 8 def initialize(email, api_key) @email = email @api_key = api_key end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
4 5 6 |
# File 'lib/rubyflare/connect.rb', line 4 def response @response end |