class Proz::GetSinglePublicWiwoEntry

Attributes

key[R]
wiwo_id[R]

Public Class Methods

new(key:, wiwo_id:) click to toggle source
# File lib/proz/get_single_public_wiwo_entry.rb, line 8
def initialize(key:, wiwo_id:)
  @key = key
  @wiwo_id = wiwo_id
end

Public Instance Methods

get() click to toggle source
# File lib/proz/get_single_public_wiwo_entry.rb, line 13
def get
  self.class.get("/wiwo/#{wiwo_id}", headers: { 'X-Proz-API-Key' => "#{key}" } )
end