Class: BrightcoveService::Ingest
- Defined in:
- lib/brightcove_service/ingest.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(params) ⇒ Ingest
constructor
A new instance of Ingest.
Methods inherited from Base
Constructor Details
#initialize(params) ⇒ Ingest
Returns a new instance of Ingest.
9 10 11 |
# File 'lib/brightcove_service/ingest.rb', line 9 def initialize(params) @params = params.to_h end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
6 7 8 |
# File 'lib/brightcove_service/ingest.rb', line 6 def params @params end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/brightcove_service/ingest.rb', line 6 def result @result end |
Instance Method Details
#call ⇒ Object
13 14 15 16 |
# File 'lib/brightcove_service/ingest.rb', line 13 def call valid? && ingest_video end |