```ruby
require 'geocoder/results/base'

module Geocoder::Result
  class Bing < Base

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

    def city
      data_address['locality']
    end

    def country
      data_address['countryRegion']
    end
    
    def country_code
      # Bing does not return a contry code
      ""
    end

    def postal_code
      data_address['postalCode']
    end
    
    def coordinates
      data_coordinates['coordinates']
    end
    
    def data_address
      @data['address']
    end
    
    def data_coordinates
      @data['point']
    end
    
    def address_line
      data_address['addressLine']
    end
    
    def state
      data_address['adminDistrict']
    end
    
    def confidence
      @data['confidence']
    end
  end
end
```

Refactor for consistency with other Results.
user
```ruby
require 'geocoder/results/base'

module Geocoder::Result
  class Bing < Base

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

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

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

    alias_method :state, :state_code

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

    alias_method :country_code, :country

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

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

    def address_data
      @data['address']
    end

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

    response_attributes.each do |a|
      define_method a do
        @data[a]
      end
    end
  end
end
```
assistant