Class: DNApi::Cron

Inherits:
Struct
  • Object
show all
Defined in:
lib/dnapi/cron.rb

Instance Attribute Summary collapse

Attributes inherited from Struct

#parent

Method Summary

Methods inherited from Struct

#==, _many, #_many, #_many_values, _ones, #_ones, #_ones_values, _umembers, belongs_to, from, #initialize, #inspect, many, map, one, #to_hash, #umember_inspect, unserialized_member

Methods included from Test::Ext

#default_fauxture_name, #fixture, #generate, #generate_attributes, #pick

Constructor Details

This class inherits a constructor from DNApi::Struct

Instance Attribute Details

#command ⇒ Object

Returns the value of attribute command

Returns:

  • (Object) —

    the current value of command



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def command
  @command
end

#day ⇒ Object

Returns the value of attribute day

Returns:

  • (Object) —

    the current value of day



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def day
  @day
end

#environment ⇒ Object

Returns the value of attribute environment.



3
4
5
# File 'lib/dnapi/cron.rb', line 3

def environment
  @environment
end

#hour ⇒ Object

Returns the value of attribute hour

Returns:

  • (Object) —

    the current value of hour



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def hour
  @hour
end

#minute ⇒ Object

Returns the value of attribute minute

Returns:

  • (Object) —

    the current value of minute



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def minute
  @minute
end

#month ⇒ Object

Returns the value of attribute month

Returns:

  • (Object) —

    the current value of month



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def month
  @month
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def name
  @name
end

#user ⇒ Object

Returns the value of attribute user

Returns:

  • (Object) —

    the current value of user



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def user
  @user
end

#weekday ⇒ Object

Returns the value of attribute weekday

Returns:

  • (Object) —

    the current value of weekday



2
3
4
# File 'lib/dnapi/cron.rb', line 2

def weekday
  @weekday
end