Class: ACTV::AssetReference

Inherits:
Base
  • Object
show all
Defined in:
lib/actv/asset_reference.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, #delete, from_response, #initialize, #memoize, #method_missing, object_attr_reader, #respond_to?, #to_hash, #update, uri_attr_reader

Constructor Details

This class inherits a constructor from ACTV::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ACTV::Base

Instance Method Details

#idObject



3
4
5
# File 'lib/actv/asset_reference.rb', line 3

def id
  @attrs[:referenceAsset][:assetGuid]
end

#typeObject



7
8
9
# File 'lib/actv/asset_reference.rb', line 7

def type
  @attrs[:referenceType][:referenceTypeName]
end