Class: YieldStarClient::Client
- Inherits:
-
Object
- Object
- YieldStarClient::Client
- Includes:
- AmenityMethods, FloorPlanMethods, LeaseTermRentMethods, PropertyMethods, RentMethods, UnitMethods
- Defined in:
- lib/yield_star_client/client.rb
Overview
YieldStarClient::Client is the main object for connecting to the YieldStar AppExchange service. The interface strives to be SOAP-agnostic whenever possible; all inputs and outputs are pure ruby and no knowledge of SOAP is required in order to use the client.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
Initializes the client.
Methods included from LeaseTermRentMethods
#get_lease_term_rent, #get_lease_term_rent_plus, #get_renewal_lease_term_rent
Methods included from Validations
#validate_client_name!, #validate_external_property_id!
Methods included from RentMethods
#get_available_units, #get_rent_summary
Methods included from AmenityMethods
#get_floor_plan_amenities, #get_unit_amenities
Methods included from UnitMethods
Methods included from FloorPlanMethods
#get_floor_plan, #get_floor_plans
Methods included from PropertyMethods
#get_properties, #get_property, #get_property_parameters
Constructor Details
#initialize(options = {}) ⇒ Client
Initializes the client. All options are truly optional; if the option is not supplied to this method, then it will be set based on the YieldStarClient configuration.
41 42 43 |
# File 'lib/yield_star_client/client.rb', line 41 def initialize(={}) .each { |k,v| self.send("#{k}=", v) if self.respond_to?("#{k}=") } end |