Method: MarketoAPI::MObject#type

Defined in:
lib/marketo_api/mobject.rb

#typeObject (readonly)

The type of Marketo object. Will be one of:

  • Opportunity

  • OpportunityPersonRole

  • Program

  • ActivityRecord

  • LeadRecord

In general, only the first three can be interacted with through the SOAP API.



23
24
25
# File 'lib/marketo_api/mobject.rb', line 23

def type
  @type
end