Method: EasyPost::Services::EndShipper#retrieve

Defined in:
lib/easypost/services/end_shipper.rb

#retrieve(id) ⇒ Object

Retrieve an EndShipper object.



15
16
17
18
19
# File 'lib/easypost/services/end_shipper.rb', line 15

def retrieve(id)
  response = @client.make_request(:get, "end_shippers/#{id}")

  EasyPost::InternalUtilities::Json.convert_json_to_object(response, MODEL_CLASS)
end