class NHKProgram::Client

Wrapper for the NHK Program REST API

@see api-portal.nhk.or.jp/ja

Public Class Methods

new(options = {}) click to toggle source
# File lib/nhk_program/client.rb, line 22
def initialize(options = {})
  options = NHKProgram.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end