class EventsJp::Zusaar

Private Class Methods

convert_response(json_str) click to toggle source
# File lib/events_jp/event_object/zusaar.rb, line 6
def self.convert_response(json_str)
  e = Hashie::Mash.new(JSON.parse(json_str)).event
  e.map{ |_| to_basic_hash(_) }
end
default_opt() click to toggle source
# File lib/events_jp/event_object/zusaar.rb, line 15
def self.default_opt
  {count: 100}
end
endpoint() click to toggle source
# File lib/events_jp/event_object/zusaar.rb, line 11
def self.endpoint
  'http://www.zusaar.com/api/event/'
end