Class: Spree::AgentTools::MembershipMap::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/spree/agent_tools/membership_map.rb

Overview

Curation runs through the parent's own nested products endpoint, so an entry only needs to say which parent, what it costs and where.

Instance Attribute Summary collapse

Instance Attribute Details

#api_path ⇒ Object

Returns the value of attribute api_path

Returns:

  • (Object) —

    the current value of api_path



13
14
15
# File 'lib/spree/agent_tools/membership_map.rb', line 13

def api_path
  @api_path
end

#permission ⇒ Object

Returns the value of attribute permission

Returns:

  • (Object) —

    the current value of permission



13
14
15
# File 'lib/spree/agent_tools/membership_map.rb', line 13

def permission
  @permission
end

#target ⇒ Object

Returns the value of attribute target

Returns:

  • (Object) —

    the current value of target



13
14
15
# File 'lib/spree/agent_tools/membership_map.rb', line 13

def target
  @target
end