Module: PortfolioManager::Services::Property::Design::Live

Included in:
All::Live
Defined in:
lib/portfolio_manager/services/property.rb

Overview

Live Environment

Instance Method Summary collapse

Instance Method Details

#edit_design(property_id, design) ⇒ PortfolioManager::Xml::ResponseType

Edit Design

This web service updates the design characteristics based on the information provided in the XML request for a specified property that already exists. It overwrites all previously existing design characteristics. The property must already be shared with you.



314
315
316
# File 'lib/portfolio_manager/services/property.rb', line 314

def edit_design(property_id, design)
  request(Net::HTTP::Put, path_for("property", property_id, "design"), {}, {}, design, "design", PortfolioManager::Xml::ResponseType, basic_auth: true)
end

#get_design(property_id) ⇒ PortfolioManager::Xml::DesignBaseType, PortfolioManager::Xml::ResponseType

Get Design

This web service retrieves the design characteristics for a specified property. The property must already be shared with you.



328
329
330
# File 'lib/portfolio_manager/services/property.rb', line 328

def get_design(property_id)
  request(Net::HTTP::Get, path_for("property", property_id, "design"), {}, {}, nil, nil, PortfolioManager::Xml::DesignBaseType, basic_auth: true)
end