Class: AsakusaRssMonitor::ASInfo
- Inherits:
-
Object
- Object
- AsakusaRssMonitor::ASInfo
- Defined in:
- lib/asakusa-rss-monitor/as-info.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#entry_point ⇒ Object
Returns the value of attribute entry_point.
-
#room_id ⇒ Object
Returns the value of attribute room_id.
Instance Method Summary collapse
-
#initialize(config) ⇒ ASInfo
constructor
A new instance of ASInfo.
Constructor Details
#initialize(config) ⇒ ASInfo
Returns a new instance of ASInfo.
6 7 8 9 10 |
# File 'lib/asakusa-rss-monitor/as-info.rb', line 6 def initialize(config) @api_key = config[:api_key] @entry_point = config[:entry_point] @room_id = config[:room_id] end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/asakusa-rss-monitor/as-info.rb', line 5 def api_key @api_key end |
#entry_point ⇒ Object
Returns the value of attribute entry_point.
5 6 7 |
# File 'lib/asakusa-rss-monitor/as-info.rb', line 5 def entry_point @entry_point end |
#room_id ⇒ Object
Returns the value of attribute room_id.
5 6 7 |
# File 'lib/asakusa-rss-monitor/as-info.rb', line 5 def room_id @room_id end |