Class: FSR::OpenStruct
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- FSR::OpenStruct
- Defined in:
- lib/fsr/ostruct.rb
Direct Known Subclasses
Model::Agent, Model::Call, Model::Channel, Model::Queue, Model::Tier
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
9 10 11 |
# File 'lib/fsr/ostruct.rb', line 9 def to_hash @table.dup end |
#to_json(*args) ⇒ Object
5 6 7 |
# File 'lib/fsr/ostruct.rb', line 5 def to_json(*args) @table.to_json *args end |