Class: Videojuicer::OAuth::Multipart
- Includes:
- Enumerable
- Defined in:
- lib/videojuicer/oauth/multipart_helper.rb
Instance Method Summary collapse
-
#each {|key, value| ... } ⇒ self
Iterate over each parameter pair.
-
#initialize(params = {}) ⇒ undefined
constructor
private
Initialize a Multipart object.
Constructor Details
#initialize(params = {}) ⇒ undefined
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.
Initialize a Multipart object
13 14 15 16 |
# File 'lib/videojuicer/oauth/multipart_helper.rb', line 13 def initialize(params = {}) @params = [] process_params(params) end |
Instance Method Details
#each {|key, value| ... } ⇒ self
Iterate over each parameter pair
34 35 36 37 |
# File 'lib/videojuicer/oauth/multipart_helper.rb', line 34 def each(&block) @params.each(&block) self end |