class EventsJp::Connpass

Private Class Methods

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