Module: SmartHR::Client::DependentRelationMethods
- Included in:
- SmartHR::Client
- Defined in:
- lib/smarthr/client/dependent_relation_methods.rb
Instance Method Summary collapse
-
#get_dependent_relations(page: 1, per_page: 10, filter_spouse: false) {|response_body, response_header| ... } ⇒ Array<Hashie::Mash>
Get the list of dependent relations.
Instance Method Details
#get_dependent_relations(page: 1, per_page: 10, filter_spouse: false) {|response_body, response_header| ... } ⇒ Array<Hashie::Mash>
Get the list of dependent relations
15 16 17 18 19 20 21 22 |
# File 'lib/smarthr/client/dependent_relation_methods.rb', line 15 def get_dependent_relations(page: 1, per_page: 10, filter_spouse: false, &block) get("/dependent_relations", page: page, per_page: per_page, filter: filter_spouse ? 'spouse' : nil, &block ) end |