Method: XeroRuby::PayrollUk::LeaveTypes.build_from_hash

Defined in:
lib/xero-ruby/models/payroll_uk/leave_types.rb

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



114
115
116
# File 'lib/xero-ruby/models/payroll_uk/leave_types.rb', line 114

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end