class PayrollHero::Api::V3::Employees

Employees Endpoint

Public Instance Methods

get(id, show_tags: false) click to toggle source

implements the interface to get a single Employee record

@return [Hashie::Mash] @param [Fixnum|String] id @param [TrueClass|FalseClass] show_tags

# File lib/payroll_hero/api/v3/employees.rb, line 12
def get(id, show_tags: false)
  params = {
    show_tags: show_tags,
  }
  remove_nil_values_from!(params)
  client.get("/api/v3/employees/#{id}", params)
end