Class: Pakyow::UI::Recordable::Attributes Private
- Inherits:
-
Presenter::Attributes
- Object
- Presenter::Attributes
- Pakyow::UI::Recordable::Attributes
- Includes:
- Helpers::ClientRemapping
- Defined in:
- lib/pakyow/ui/recordable/attributes.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Instance Method Summary collapse
- #to_json ⇒ Object private
Methods included from Helpers::ClientRemapping
Class Method Details
.from_attributes(attributes) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 43 44 45 46 |
# File 'lib/pakyow/ui/recordable/attributes.rb', line 42 def from_attributes(attributes) new(attributes.instance_variable_get(:@attributes)).tap { |instance| instance.instance_variable_set(:@calls, []) } end |
Instance Method Details
#to_json ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 |
# File 'lib/pakyow/ui/recordable/attributes.rb', line 37 def to_json(*) @calls.to_json end |