Class: Fastlane::Actions::PeripheryAction::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/periphery/actions/periphery_action.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw) ⇒ Result

Returns a new instance of Result.



15
16
17
18
19
20
21
22
23
24
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 15

def initialize(raw)
  @kind = raw['kind']
  @name = raw['name']
  @modifiers = raw['modifiers']
  @attributes = raw['attributes']
  @accessibility = raw['accessibility']
  @ids = raw['ids']
  @hints = raw['hints']
  @location = raw['location']
end

Instance Attribute Details

#accessibilityObject (readonly)

Returns the value of attribute accessibility.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def accessibility
  @accessibility
end

#attributesObject (readonly)

Returns the value of attribute attributes.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def attributes
  @attributes
end

#hintsObject (readonly)

Returns the value of attribute hints.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def hints
  @hints
end

#idsObject (readonly)

Returns the value of attribute ids.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def ids
  @ids
end

#kindObject (readonly)

Returns the value of attribute kind.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def kind
  @kind
end

#locationObject (readonly)

Returns the value of attribute location.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def location
  @location
end

#modifiersObject (readonly)

Returns the value of attribute modifiers.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def modifiers
  @modifiers
end

#nameObject (readonly)

Returns the value of attribute name.



13
14
15
# File 'lib/fastlane/plugin/periphery/actions/periphery_action.rb', line 13

def name
  @name
end