class Group < ActiveRecord::Base
  has_many :users
  has_many :requests

  validates :street, :city, :number, :zip_code, presence: true

  def name
    "#{number} #{street}"
  end

end

class Group < ActiveRecord::Base
  has_many :users
  has_many :requests

  validates :primary_number, :street_name, :street_suffix, :city_name,
            :state_abbreviation, :zipcode, presence: true

  def name
    "#{primary_number} #{street_name} #{street_suffix}"
  end

end

Change the Group model to conform to the information returned by the Smarty Street API.
Change the Group model to conform to the information returned by the
Smarty Street API.
