Class: RestGraph::EventStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/rest-graph/core.rb

Direct Known Subclasses

Event

Instance Attribute Summary collapse

Instance Attribute Details

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



30
31
32
# File 'lib/rest-graph/core.rb', line 30

def duration
  @duration
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



30
31
32
# File 'lib/rest-graph/core.rb', line 30

def url
  @url
end