class Postmen::Types::Item

Item - element of shippment @see docs.postmen.com/api.html#item API Documentation

Public Instance Methods

to_hash() click to toggle source

Converts object to hash @return [Hash]

Calls superclass method
# File lib/postmen/types/item.rb, line 19
def to_hash
  super.reject { |_k, v| v.nil? }
end