Module: GetYourRep::CLI
- Extended by:
- GetYourRep
- Defined in:
- lib/get_your_rep/cli.rb
Overview
Command Line Interface
Constant Summary
Constants included from GetYourRep
Class Attribute Summary collapse
-
.address ⇒ Object
readonly
Returns the value of attribute address.
-
.delegation ⇒ Object
readonly
Returns the value of attribute delegation.
-
.line ⇒ Object
readonly
Returns the value of attribute line.
Class Method Summary collapse
Methods included from GetYourRep
address_is_a_zip?, convert_int_address_to_string, convert_zip_to_address, get_coordinates, handle_reps_not_found_error, parse_address, trim_street_number
Class Attribute Details
.address ⇒ Object
Returns the value of attribute address.
8 9 10 |
# File 'lib/get_your_rep/cli.rb', line 8 def address @address end |
.delegation ⇒ Object (readonly)
Returns the value of attribute delegation.
8 9 10 |
# File 'lib/get_your_rep/cli.rb', line 8 def delegation @delegation end |
.line ⇒ Object (readonly)
Returns the value of attribute line.
8 9 10 |
# File 'lib/get_your_rep/cli.rb', line 8 def line @line end |
Class Method Details
.call ⇒ Object
10 11 12 13 14 15 |
# File 'lib/get_your_rep/cli.rb', line 10 def call Patriotic. Patriotic.welcome @line = 0 start end |