Class: Rubyflare::Connect

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyflare/connect.rb

Constant Summary collapse

API_URL =
"https://api.cloudflare.com/client/v4/"

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#responseObject (readonly)

Returns the value of attribute response


4
5
6
# File 'lib/rubyflare/connect.rb', line 4

def response
  @response
end