Class: AocCli::Tools::Get
- Defined in:
- lib/aoc_cli/tools.rb
Instance Attribute Summary
Attributes inherited from Convert
Attributes inherited from Request
#base, #day, #page, #ua, #user, #year
Instance Method Summary collapse
-
#initialize(u: Metafile.get(:user), y: Metafile.get(:year), d: nil, p:) ⇒ Get
constructor
A new instance of Get.
Methods inherited from Convert
#array, #chunk, #md, #plain, #raw
Constructor Details
#initialize(u: Metafile.get(:user), y: Metafile.get(:year), d: nil, p:) ⇒ Get
Returns a new instance of Get.
77 78 79 80 |
# File 'lib/aoc_cli/tools.rb', line 77 def initialize(u:Metafile.get(:user), y:Metafile.get(:year), d:nil, p:) @input = Request.new(u:u, y:y, d:d, p:p).get end |