class Geocoder::Result::Bing

def self.response_attributes

def self.response_attributes
  %w[bbox name confidence entityType]
end

def address(format = :full)

def address(format = :full)
  @data['address']['formattedAddress']
end

def address_data

def address_data
  @data['address']
end

def city

def city
  @data['address']['locality']
end

def coordinates

def coordinates
  @data['point']['coordinates']
end

def country

def country
  @data['address']['countryRegion']
end

def postal_code

def postal_code
  @data['address']['postalCode'].to_s
end

def state_code

def state_code
  @data['address']['adminDistrict']
end

def viewport

def viewport
  @data['bbox']
end