Sha256: f1d04bb64823841dd5d9eb21a9a241b95cc72a571f785ec5b13331f8a6fb2db1

Contents?: true

Size: 434 Bytes

Versions: 2

Compression:

Stored size: 434 Bytes

Contents

class FacebookEvents::Event

  attr_reader :facebook_id, :name, :start_time, :end_time, :location, :description, :updated_time

  def initialize(event)
    @facebook_id      = event.id
    @name             = event.name
    @start_time       = event.start_time
    @end_time         = event.end_time
    @location         = event.location
    @description      = event.description
    @updated_time     = event.updated_time
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facebook_events-0.0.2 lib/facebook_events/event.rb
facebook_events-0.0.1 lib/facebook_events/event.rb