Class: JSdk::Quote
- Inherits:
-
Object
- Object
- JSdk::Quote
- Defined in:
- lib/j_sdk/quote.rb
Instance Attribute Summary collapse
-
#character_id ⇒ Object
readonly
Returns the value of attribute character_id.
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#dialog ⇒ Object
readonly
Returns the value of attribute dialog.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#movie_id ⇒ Object
readonly
Returns the value of attribute movie_id.
Instance Method Summary collapse
-
#initialize(id, dialog, movie_id, character_id, client) ⇒ Quote
constructor
A new instance of Quote.
Constructor Details
#initialize(id, dialog, movie_id, character_id, client) ⇒ Quote
Returns a new instance of Quote.
5 6 7 8 9 10 11 |
# File 'lib/j_sdk/quote.rb', line 5 def initialize(id, dialog, movie_id, character_id, client) @id = id @dialog = dialog @movie_id = movie_id @character_id = character_id @client = client end |
Instance Attribute Details
#character_id ⇒ Object (readonly)
Returns the value of attribute character_id.
3 4 5 |
# File 'lib/j_sdk/quote.rb', line 3 def character_id @character_id end |
#client ⇒ Object (readonly)
Returns the value of attribute client.
3 4 5 |
# File 'lib/j_sdk/quote.rb', line 3 def client @client end |
#dialog ⇒ Object (readonly)
Returns the value of attribute dialog.
3 4 5 |
# File 'lib/j_sdk/quote.rb', line 3 def dialog @dialog end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/j_sdk/quote.rb', line 3 def id @id end |
#movie_id ⇒ Object (readonly)
Returns the value of attribute movie_id.
3 4 5 |
# File 'lib/j_sdk/quote.rb', line 3 def movie_id @movie_id end |