Sha256: 66038a4dfc20e4ea681e0806d7d7cc4cc497e12dbfa8069009b0f70bc703fc4d

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

module Chairnerd
  module Response
    class EventsResponse < CollectionResponse
      def initialize(request,response)
        @collection = response["events"].map {|e| EventResponse.new(request,e) }
        super(request,response)
      end

      def events
        @collection
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chairnerd-0.0.5 lib/chairnerd/response/events_response.rb