Class: Entrata::Request::GetPropertyInfo

Inherits:
Base
  • Object
show all
Defined in:
lib/entrata/request/get_property_info.rb

Overview

Get property details for a single property within a PMC

Instance Method Summary collapse

Methods inherited from Base

#body, #initialize, #perform, #perform_with_curl, #resource_auth, #resource_path

Constructor Details

This class inherits a constructor from Entrata::Request::Base

Instance Method Details

#after_initialize(property_id:) ⇒ Object



7
8
9
# File 'lib/entrata/request/get_property_info.rb', line 7

def after_initialize(property_id:)
  @property_id = property_id
end

#resource_nameObject



11
12
13
# File 'lib/entrata/request/get_property_info.rb', line 11

def resource_name
  'getPropertyInfo'
end

#resource_paramsObject



15
16
17
# File 'lib/entrata/request/get_property_info.rb', line 15

def resource_params
  { propertyId: property_id }
end