Sha256: 58dc9f0e7d7e15cc140a4c467e64c2eda3589641a6e047d0f4c090179e9bd890
Contents?: true
Size: 259 Bytes
Versions: 3
Compression:
Stored size: 259 Bytes
Contents
module Rentjuicer class Client include HTTParty format :json attr_accessor :api_key def initialize(api_key) self.api_key = api_key self.class.base_uri "app.rentjuice.com/api/#{self.api_key}" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rentjuicer-0.3.0 | lib/rentjuicer/client.rb |
rentjuicer-0.2.1 | lib/rentjuicer/client.rb |
rentjuicer-0.2.0 | lib/rentjuicer/client.rb |