class EventsJp::Atnd

Private Class Methods

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