Sha256: 7abe49e699e2af8f4ae808c03ecbb11b4cfbf0ad112be6e05dd66278b688db65

Contents?: true

Size: 378 Bytes

Versions: 8

Compression:

Stored size: 378 Bytes

Contents

module Rentjuicer
  class Neighborhoods
    
    attr_accessor :client, :resource
    
    def initialize(client)
      self.client = client
      self.resource = "/neighborhoods.json"
    end
    
    def find_all(raise_error = false)
      Response.new(self.client.process_get(resource), raise_error)
    end
    
    def find_all!
      find_all(true)
    end
    
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rentjuicer-0.8.0 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.7.3 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.7.2 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.7.1 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.6.3 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.6.2 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.6.1 lib/rentjuicer/neighborhoods.rb
rentjuicer-0.6.0 lib/rentjuicer/neighborhoods.rb