Class: Kangaru::RequestBuilder
- Inherits:
-
Object
- Object
- Kangaru::RequestBuilder
- Defined in:
- lib/kangaru/request_builder.rb
Constant Summary collapse
- ARGUMENT_TOKEN =
/^--?/
Instance Attribute Summary collapse
-
#tokens ⇒ Object
readonly
Returns the value of attribute tokens.
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(tokens) ⇒ RequestBuilder
constructor
A new instance of RequestBuilder.
Constructor Details
#initialize(tokens) ⇒ RequestBuilder
Returns a new instance of RequestBuilder.
7 8 9 |
# File 'lib/kangaru/request_builder.rb', line 7 def initialize(tokens) @tokens = tokens end |
Instance Attribute Details
#tokens ⇒ Object (readonly)
Returns the value of attribute tokens.
5 6 7 |
# File 'lib/kangaru/request_builder.rb', line 5 def tokens @tokens end |