Module: SmartHR::Client::BankAccountSettingMethods

Included in:
SmartHR::Client
Defined in:
lib/smarthr/client/bank_account_setting_methods.rb

Instance Method Summary collapse

Instance Method Details

#get_bank_account_settings(page: 1, per_page: 10) {|response_body, response_header| ... } ⇒ Array<Hashie::Mash>

Get the list of bank account settings

Parameters:

  • page (Integer) (defaults to: 1)
  • per_page (Integer) (defaults to: 10)

Yields:

  • (response_body, response_header)

    if block was given, return response body and response header through block arguments

Yield Parameters:

  • response_body (Array<Hashie::Mash>)

    response body

  • response_header (Hash<String, String>)

    response header (e.g. X-Rate-Limit-Limit, X-Rate-Limit-Reset, X-Rate-Limit-Remaining)

Returns:

  • (Array<Hashie::Mash>)

See Also:



14
15
16
17
18
19
20
# File 'lib/smarthr/client/bank_account_setting_methods.rb', line 14

def (page: 1, per_page: 10, &block)
  get("/bank_account_settings",
    page: page,
    per_page: per_page,
    &block
  )
end