Sha256: 40f047bb79541c62fb276b1723be77d0f6092d1382eaa1379cebd1ef7db4dcec
Contents?: true
Size: 259 Bytes
Versions: 2
Compression:
Stored size: 259 Bytes
Contents
class EasyPost::Brand < EasyPost::Resource def url if user_id.nil? || user_id.empty? raise EasyPost::Error, "Missing user_id: #{self.class} instance is missing user_id" end "#{::EasyPost::User.url}/#{CGI.escape(user_id)}/brand" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
easypost-3.5.1 | lib/easypost/brand.rb |
easypost-3.5.0 | lib/easypost/brand.rb |