Class: Textus::Command::Ingest

Inherits:
Data
  • Object
show all
Defined in:
lib/textus/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kind:, slug:, role:, url: nil, path: nil, zone: nil, label: nil) ⇒ Ingest

Returns a new instance of Ingest.



16
17
18
# File 'lib/textus/command.rb', line 16

def initialize(kind:, slug:, role:, url: nil, path: nil, zone: nil, label: nil)
  super
end

Instance Attribute Details

#kindObject (readonly)

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



15
16
17
# File 'lib/textus/command.rb', line 15

def kind
  @kind
end

#labelObject (readonly)

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



15
16
17
# File 'lib/textus/command.rb', line 15

def label
  @label
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



15
16
17
# File 'lib/textus/command.rb', line 15

def path
  @path
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



15
16
17
# File 'lib/textus/command.rb', line 15

def role
  @role
end

#slugObject (readonly)

Returns the value of attribute slug

Returns:

  • (Object)

    the current value of slug



15
16
17
# File 'lib/textus/command.rb', line 15

def slug
  @slug
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



15
16
17
# File 'lib/textus/command.rb', line 15

def url
  @url
end

#zoneObject (readonly)

Returns the value of attribute zone

Returns:

  • (Object)

    the current value of zone



15
16
17
# File 'lib/textus/command.rb', line 15

def zone
  @zone
end