Module: BTCJammer::Configuration

Included in:
BTCJammer
Defined in:
lib/btcjammer.rb

Overview

Holds info for oauth config including BTCJam scopes

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id.



23
24
25
# File 'lib/btcjammer.rb', line 23

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret.



23
24
25
# File 'lib/btcjammer.rb', line 23

def client_secret
  @client_secret
end

#redirect_uriObject

Returns the value of attribute redirect_uri.



23
24
25
# File 'lib/btcjammer.rb', line 23

def redirect_uri
  @redirect_uri
end

#scopesObject

Returns the value of attribute scopes.



23
24
25
# File 'lib/btcjammer.rb', line 23

def scopes
  @scopes
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



25
26
27
# File 'lib/btcjammer.rb', line 25

def configure
  yield self
end