Class: IOSGen::Base::Interactor

Inherits:
Object
  • Object
show all
Defined in:
lib/ios_gen/base/interactor.rb

Overview

Interactor class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Interactor

Returns a new instance of Interactor.



7
8
9
10
11
12
# File 'lib/ios_gen/base/interactor.rb', line 7

def initialize(params = {})
  @description = params[:description]
  @name = params[:name]
  @properties = params[:properties]
  @actions = params[:actions]
end

Instance Attribute Details

#actionsObject

Returns the value of attribute actions.



5
6
7
# File 'lib/ios_gen/base/interactor.rb', line 5

def actions
  @actions
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/ios_gen/base/interactor.rb', line 5

def description
  @description
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/ios_gen/base/interactor.rb', line 5

def name
  @name
end

#propertiesObject

Returns the value of attribute properties.



5
6
7
# File 'lib/ios_gen/base/interactor.rb', line 5

def properties
  @properties
end