Class: Wl::Client
- Inherits:
-
Object
- Object
- Wl::Client
- Includes:
- APISmith::Client, Shy
- Defined in:
- lib/wl/client.rb
Instance Method Summary collapse
Instance Method Details
#base_request_options ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/wl/client.rb', line 25 def if dotwl.token { headers: { 'Authorization' => "Bearer #{dotwl.token}" } } else super end end |
#lists ⇒ Object
21 22 23 |
# File 'lib/wl/client.rb', line 21 def lists get('me/lists', transformer: Models::List) end |