Sha256: 8f78bf5c2df88aa9b54c2560579c1364e81243b33ee3f1e5dc3f5a2546e8cc8f

Contents?: true

Size: 370 Bytes

Versions: 5

Compression:

Stored size: 370 Bytes

Contents

module Chairnerd
  class Event
    class << self
      def find(params={})
        request = Chairnerd::Client.make_request(:events,params)
        Response::EventsResponse.new(*request)
      end

      def find_by_id(event_id)
        request = Chairnerd::Client.make_request(:events,event_id)
        Response::EventResponse.new(*request)
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chairnerd-0.0.9 lib/chairnerd/event.rb
chairnerd-0.0.8 lib/chairnerd/event.rb
chairnerd-0.0.7 lib/chairnerd/event.rb
chairnerd-0.0.6 lib/chairnerd/event.rb
chairnerd-0.0.5 lib/chairnerd/event.rb