Sha256: 0cdde8b65229a15f5177ed8d3e532f578cf91c5ab82a0cae72ada23b7ce441b4

Contents?: true

Size: 398 Bytes

Versions: 7

Compression:

Stored size: 398 Bytes

Contents

module Songkickr
  module RemoteApi
    module VenueDetails
      # ==== Venue Details
      # http://www.songkick.com/developer/venue-details
      #
      # === Parameters
      #
      # * +venue_id+ - Songkick venue ID.
      def venue(venue_id)
        result = get("/venues/#{venue_id}.json")
        Songkickr::Venue.new result['resultsPage']['results']['venue']
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
songkickr-0.5.5 lib/songkickr/remote_api/venue_details.rb
songkickr-0.5.4 lib/songkickr/remote_api/venue_details.rb
songkickr-0.5.3 lib/songkickr/remote_api/venue_details.rb
songkickr-0.5.2 lib/songkickr/remote_api/venue_details.rb
songkickr-0.5.0 lib/songkickr/remote_api/venue_details.rb
songkickr-0.4.1 lib/songkickr/remote_api/venue_details.rb
songkickr-0.4.0 lib/songkickr/remote_api/venue_details.rb