Class: BBR::GetBuildingDataFromId
- Inherits:
-
Object
- Object
- BBR::GetBuildingDataFromId
show all
- Extended by:
- BBR
- Defined in:
- lib/bbr/get_building_data_from_id.rb
Class Method Summary
collapse
Methods included from BBR
bbr_id_from_address, building_data_from_address, building_data_from_bbr_id, raw_building_data_from_address, raw_building_data_from_bbr_id
Class Method Details
.call(id) ⇒ Object
5
6
7
|
# File 'lib/bbr/get_building_data_from_id.rb', line 5
def self.call(id)
id.present? ? formatted_response(request(request_action, xml_body(id))) : Hash.new
end
|
.raw_call(id) ⇒ Object
9
10
11
|
# File 'lib/bbr/get_building_data_from_id.rb', line 9
def self.raw_call(id)
request(request_action, xml_body(id)) if id.present?
end
|