Class: ReactorSDK::Resources::Note
- Inherits:
-
BaseResource
- Object
- BaseResource
- ReactorSDK::Resources::Note
- Defined in:
- lib/reactor_sdk/resources/note.rb
Instance Attribute Summary
Attributes inherited from BaseResource
#attributes, #id, #meta, #relationships, #type
Instance Method Summary collapse
-
#author_display_name ⇒ String
Display name of the note author.
-
#author_email ⇒ String
Email of the note author.
-
#created_at ⇒ String
ISO8601 timestamp when the note was created.
-
#inspect ⇒ String
Human-readable representation.
-
#text ⇒ String
Note body text.
Methods inherited from BaseResource
#==, #[], attribute, #initialize, #relationship_data, #relationship_id, #relationship_ids, #to_h
Constructor Details
This class inherits a constructor from ReactorSDK::Resources::BaseResource
Instance Method Details
#author_display_name ⇒ String
Returns Display name of the note author.
21 |
# File 'lib/reactor_sdk/resources/note.rb', line 21 attribute :author_display_name |
#author_email ⇒ String
Returns Email of the note author.
24 |
# File 'lib/reactor_sdk/resources/note.rb', line 24 attribute :author_email |
#created_at ⇒ String
Returns ISO8601 timestamp when the note was created.
27 |
# File 'lib/reactor_sdk/resources/note.rb', line 27 attribute :created_at |
#inspect ⇒ String
Returns Human-readable representation.
32 33 34 |
# File 'lib/reactor_sdk/resources/note.rb', line 32 def inspect "#<ReactorSDK::Resources::Note id=#{id.inspect} text=#{text.inspect}>" end |
#text ⇒ String
Returns Note body text.
18 |
# File 'lib/reactor_sdk/resources/note.rb', line 18 attribute :text |