Class: Razrbit::HTTP

Inherits:
Object
  • Object
show all
Defined in:
lib/razrbit/http.rb

Direct Known Subclasses

Explorer, Markets, Network, Notifications, Wallet

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject

Returns the value of attribute app_id.



6
7
8
# File 'lib/razrbit/http.rb', line 6

def app_id
  @app_id
end

#app_secretObject

Returns the value of attribute app_secret.



6
7
8
# File 'lib/razrbit/http.rb', line 6

def app_secret
  @app_secret
end