Class: USA::Contract

Inherits:
Base
  • Object
show all
Defined in:
lib/usaspending/contract.rb

Constant Summary

Constants inherited from Base

Base::API_URL

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#construct_url, #get_data, #hash2get, #set_instance_methods

Constructor Details

#initialize(params) ⇒ Contract

Returns a new instance of Contract.



7
8
9
10
11
# File 'lib/usaspending/contract.rb', line 7

def initialize(params)
  if params
    self.set_instance_methods(params)
  end
end

Instance Attribute Details

#awardtypeObject

Returns the value of attribute awardtype.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def awardtype
  @awardtype
end

#competitioncategoryObject

Returns the value of attribute competitioncategory.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def competitioncategory
  @competitioncategory
end

#contractingagencyObject

Returns the value of attribute contractingagency.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def contractingagency
  @contractingagency
end

#contractororrecipientidObject

Returns the value of attribute contractororrecipientid.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def contractororrecipientid
  @contractororrecipientid
end

#contractpricingObject

Returns the value of attribute contractpricing.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def contractpricing
  @contractpricing
end

#datesignedObject

Returns the value of attribute datesigned.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def datesigned
  @datesigned
end

#dollarsobligatedObject

Returns the value of attribute dollarsobligated.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def dollarsobligated
  @dollarsobligated
end

#dunsnumberObject

Returns the value of attribute dunsnumber.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def dunsnumber
  @dunsnumber
end

#extentcompetedObject

Returns the value of attribute extentcompeted.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def extentcompeted
  @extentcompeted
end

#facevalueObject

Returns the value of attribute facevalue.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def facevalue
  @facevalue
end

#federalawardidObject

Returns the value of attribute federalawardid.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def federalawardid
  @federalawardid
end

#fiscalyearObject

Returns the value of attribute fiscalyear.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def fiscalyear
  @fiscalyear
end

#fundingagencyObject

Returns the value of attribute fundingagency.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def fundingagency
  @fundingagency
end

#idvagencyObject

Returns the value of attribute idvagency.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def idvagency
  @idvagency
end

#idvprocurementinstrumentidObject

Returns the value of attribute idvprocurementinstrumentid.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def idvprocurementinstrumentid
  @idvprocurementinstrumentid
end

#majoragencyObject

Returns the value of attribute majoragency.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def majoragency
  @majoragency
end

#majorfundingagencyObject

Returns the value of attribute majorfundingagency.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def majorfundingagency
  @majorfundingagency
end

#modificationnumberObject

Returns the value of attribute modificationnumber.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def modificationnumber
  @modificationnumber
end

#parentrecipientorcompanynameObject

Returns the value of attribute parentrecipientorcompanyname.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def parentrecipientorcompanyname
  @parentrecipientorcompanyname
end

#placeofperformancecongdistrictObject

Returns the value of attribute placeofperformancecongdistrict.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def placeofperformancecongdistrict
  @placeofperformancecongdistrict
end

#placeofperformancestateObject

Returns the value of attribute placeofperformancestate.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def placeofperformancestate
  @placeofperformancestate
end

#placeofperformancezipcodeObject

Returns the value of attribute placeofperformancezipcode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def placeofperformancezipcode
  @placeofperformancezipcode
end

#principalnaicscodeObject

Returns the value of attribute principalnaicscode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def principalnaicscode
  @principalnaicscode
end

#principalplacecountyorcityObject

Returns the value of attribute principalplacecountyorcity.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def principalplacecountyorcity
  @principalplacecountyorcity
end

#procurementinstrumentidObject

Returns the value of attribute procurementinstrumentid.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def procurementinstrumentid
  @procurementinstrumentid
end

#productorservicecodeObject

Returns the value of attribute productorservicecode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def productorservicecode
  @productorservicecode
end

#programsourceObject

Returns the value of attribute programsource.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def programsource
  @programsource
end

#programsourceaccountcodeObject

Returns the value of attribute programsourceaccountcode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def programsourceaccountcode
  @programsourceaccountcode
end

#programsourceagencycodeObject

Returns the value of attribute programsourceagencycode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def programsourceagencycode
  @programsourceagencycode
end

#programsourcedescriptionObject

Returns the value of attribute programsourcedescription.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def programsourcedescription
  @programsourcedescription
end

#projectdescriptionObject

Returns the value of attribute projectdescription.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def projectdescription
  @projectdescription
end

#psccategorycodeObject

Returns the value of attribute psccategorycode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def psccategorycode
  @psccategorycode
end

#recipientaddressline123Object

Returns the value of attribute recipientaddressline123.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientaddressline123
  @recipientaddressline123
end

#recipientcityObject

Returns the value of attribute recipientcity.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientcity
  @recipientcity
end

#recipientcongressionaldistrictObject

Returns the value of attribute recipientcongressionaldistrict.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientcongressionaldistrict
  @recipientcongressionaldistrict
end

#recipientcountynameObject

Returns the value of attribute recipientcountyname.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientcountyname
  @recipientcountyname
end

#recipientnameObject

Returns the value of attribute recipientname.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientname
  @recipientname
end

#recipientorcontractornameObject

Returns the value of attribute recipientorcontractorname.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientorcontractorname
  @recipientorcontractorname
end

#recipientstateObject

Returns the value of attribute recipientstate.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientstate
  @recipientstate
end

#recipientzipcodeObject

Returns the value of attribute recipientzipcode.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def recipientzipcode
  @recipientzipcode
end

#record_countObject

Returns the value of attribute record_count.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def record_count
  @record_count
end

#transactionnumberObject

Returns the value of attribute transactionnumber.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def transactionnumber
  @transactionnumber
end

#typeofspendingObject

Returns the value of attribute typeofspending.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def typeofspending
  @typeofspending
end

#typeoftransactionObject

Returns the value of attribute typeoftransaction.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def typeoftransaction
  @typeoftransaction
end

#vendornameObject

Returns the value of attribute vendorname.



5
6
7
# File 'lib/usaspending/contract.rb', line 5

def vendorname
  @vendorname
end