Sha256: a94675628efcbf4d1ed3a7784ca6d2ea122da5a54caf019a172b93e5fe9f42cc

Contents?: true

Size: 301 Bytes

Versions: 12

Compression:

Stored size: 301 Bytes

Contents

module Songkickr
  class Venue
    attr_accessor :display_name, :id, :lat, :lng
    
    def initialize(venue_hash)
      @display_name = venue_hash["displayName"]
      @id           = venue_hash["id"]
      @lat          = venue_hash["lat"]
      @lng          = venue_hash["lng"]
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
songkickr-0.3.3 lib/songkickr/venue.rb
songkickr-0.3.2 lib/songkickr/venue.rb
songkickr-0.3.1 lib/songkickr/venue.rb
songkickr-0.3.0 lib/songkickr/venue.rb
songkickr-0.2.2 lib/songkickr/venue.rb
songkickr-0.2.1 lib/songkickr/venue.rb
songkickr-0.2.0 lib/songkickr/venue.rb
songkickr-0.1.4 lib/songkickr/venue.rb
songkickr-0.1.3 lib/songkickr/venue.rb
songkickr-0.1.2 lib/songkickr/venue.rb
songkickr-0.1.1 lib/songkickr/venue.rb
songkickr-0.1.0 lib/songkickr/venue.rb