Module: ZipFinder

Defined in:
lib/zipfinder.rb,
lib/zipfinder/client.rb,
lib/zipfinder/loggable.rb,
lib/zipfinder/exceptions.rb,
lib/zipfinder/response_handler.rb,
lib/zipfinder/rest_client_adapter.rb

Defined Under Namespace

Modules: Loggable Classes: Client, RequestFailedError, ResponseHandler, RestClientAdapter, ServiceNotAvailableError

Constant Summary collapse

BASE_URL =
'http://zipfinder.me/zipcode'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



18
19
20
# File 'lib/zipfinder.rb', line 18

def logger
  @logger
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (ZipFinder)

    the object that the method was called on



21
22
23
# File 'lib/zipfinder.rb', line 21

def self.configure
  yield self
end