Class: RockRMS::Response::Fund

Inherits:
Base
  • Object
show all
Defined in:
lib/rock_rms/response/fund.rb

Constant Summary collapse

MAP =
{
  campus_id: 'CampusId',
  name: 'Name',
  public_name: 'PublicName',
  description: 'Description',
  is_active: 'IsActive',
  is_public: 'IsPublic',
  is_tax_deductible: 'IsTaxDeductible',
  gl_code: 'GlCode',
  foreign_id: 'ForeignId'
}.freeze

Constants inherited from Base

Base::BASE_MAPPING

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

format, #format, #format_attributes, #initialize, #to_h

Constructor Details

This class inherits a constructor from RockRMS::Response::Base

Instance Method Details

#format_single(data) ⇒ Object



16
17
18
# File 'lib/rock_rms/response/fund.rb', line 16

def format_single(data)
  to_h(MAP, data)
end