Class: SyoboiCalendar::Client
- Inherits:
-
Object
- Object
- SyoboiCalendar::Client
- Defined in:
- lib/syoboi_calendar/client.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #channels(options = {}) ⇒ Object
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
- #programs(options = {}) ⇒ Object
- #titles(options = {}) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
5 6 7 |
# File 'lib/syoboi_calendar/client.rb', line 5 def initialize( = {}) = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/syoboi_calendar/client.rb', line 3 def end |
Instance Method Details
#channels(options = {}) ⇒ Object
9 10 11 |
# File 'lib/syoboi_calendar/client.rb', line 9 def channels( = {}) get(Queries::Channel, ) end |
#programs(options = {}) ⇒ Object
13 14 15 |
# File 'lib/syoboi_calendar/client.rb', line 13 def programs( = {}) get(Queries::Program, ) end |
#titles(options = {}) ⇒ Object
17 18 19 |
# File 'lib/syoboi_calendar/client.rb', line 17 def titles( = {}) get(Queries::Title, ) end |