Class: MapsApi::Google::Client

Inherits:
AddressGeocoder::Client show all
Defined in:
lib/maps_api/google/client.rb

Overview

Class for interacting with Google Maps API

Since:

  • 0.0.1

Instance Attribute Summary

Attributes inherited from AddressGeocoder::Client

#address, #api_key, #former_address, #language, #response

Instance Method Summary collapse

Methods inherited from AddressGeocoder::Client

#city=, #country=, #initialize, #postal_code=, #state=, #street=, #suggested_addresses, #valid_address?

Constructor Details

This class inherits a constructor from AddressGeocoder::Client

Instance Method Details

#assign_initial(args) ⇒ void

This method returns an undefined value.

Assigns the entered variables to their proper instance variables

Parameters:

  • args (Hash)

    arguments to pass to the class

Since:

  • 0.0.1



12
13
14
15
16
# File 'lib/maps_api/google/client.rb', line 12

def assign_initial(args)
  @parser    = Parser.new
  @requester = Requester.new(parser: @parser)
  super args
end