class Postmen::Label

Label object

@see docs.postmen.com/api.html#labels API documentation

Public Class Methods

all(options = {}) click to toggle source

Returns all labels

@see LabelCollection#all @return [LabelCollection] Collection of Labels

# File lib/postmen/label.rb, line 17
def self.all(options = {})
  LabelCollection.all(options)
end
create(params) click to toggle source

Creates an instance of Label

@see LabelCollection#create @return [Label]

# File lib/postmen/label.rb, line 33
def self.create(params)
  LabelCollection.create(params)
end
find(id) click to toggle source

Fetches single label

@see LabelCollection#find @return [Label]

# File lib/postmen/label.rb, line 25
def self.find(id)
  LabelCollection.find(id)
end