class Proz::GetSingleWiwoEntry
Attributes
token[R]
wiwo_id[R]
Public Class Methods
new(token:, wiwo_id:)
click to toggle source
# File lib/proz/get_single_wiwo_entry.rb, line 8 def initialize(token:, wiwo_id:) @token = token @wiwo_id = wiwo_id end
Public Instance Methods
get()
click to toggle source
# File lib/proz/get_single_wiwo_entry.rb, line 13 def get self.class.get("/wiwo/#{wiwo_id}", headers: { 'Authorization' => "Bearer #{token}" } ) end