Sha256: 945203eba170bc373a76ae705323a61bb06d9ae6833567ca3068d9f7211ebe06

Contents?: true

Size: 233 Bytes

Versions: 3

Compression:

Stored size: 233 Bytes

Contents

module RT
  class API
    include HTTParty

    @@api_key = ''

    base_uri 'http://api.rottentomatoes.com/api/public'

    def self.api_key
      @@api_key
    end

    def self.api_key=(key)
      @@api_key = key
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rottentom-0.3.1 lib/rottentom/api.rb
rottentom-0.3.0 lib/rottentom/api.rb
rottentom-0.2.0 lib/rottentom/api.rb