Class: Maromi::Proxies::Consumer
- Inherits:
-
Object
- Object
- Maromi::Proxies::Consumer
- Defined in:
- lib/maromi/proxies/consumer.rb
Instance Method Summary collapse
- #callback ⇒ Object
-
#initialize(consumer) ⇒ Consumer
constructor
A new instance of Consumer.
- #name ⇒ Object
- #secret ⇒ Object
- #token ⇒ Object
Constructor Details
#initialize(consumer) ⇒ Consumer
Returns a new instance of Consumer.
4 5 6 |
# File 'lib/maromi/proxies/consumer.rb', line 4 def initialize(consumer) @consumer = consumer end |
Instance Method Details
#callback ⇒ Object
8 9 10 |
# File 'lib/maromi/proxies/consumer.rb', line 8 def callback @consumer.callback_url end |
#name ⇒ Object
12 13 14 |
# File 'lib/maromi/proxies/consumer.rb', line 12 def name @consumer.nickname end |
#secret ⇒ Object
16 17 18 |
# File 'lib/maromi/proxies/consumer.rb', line 16 def secret @consumer.secret end |
#token ⇒ Object
20 21 22 |
# File 'lib/maromi/proxies/consumer.rb', line 20 def token @consumer.token end |