Class: SimMeterAU::Service

Inherits:
Data
  • Object
show all
Includes:
Serializable
Defined in:
lib/sim_meter_au/service.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Serializable

#to_h

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



4
5
6
# File 'lib/sim_meter_au/service.rb', line 4

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/sim_meter_au/service.rb', line 4

def name
  @name
end

#numberObject (readonly)

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



4
5
6
# File 'lib/sim_meter_au/service.rb', line 4

def number
  @number
end