Class: JsonDumper::Delayed

Inherits:
Object
  • Object
show all
Defined in:
lib/json_dumper/delayed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name, entity, args, klass) ⇒ Delayed

Returns a new instance of Delayed.



5
6
7
8
9
10
# File 'lib/json_dumper/delayed.rb', line 5

def initialize(method_name, entity, args, klass)
  self.method_name = method_name
  self.entity = entity
  self.args = args
  self.klass = klass
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def args
  @args
end

#entityObject

Returns the value of attribute entity.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def entity
  @entity
end

#klassObject

Returns the value of attribute klass.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def klass
  @klass
end

#method_nameObject

Returns the value of attribute method_name.



3
4
5
# File 'lib/json_dumper/delayed.rb', line 3

def method_name
  @method_name
end