class Iterable::Metadata

Interact with /metadata API endpoints

@example Creating metadata endpoint object

# With default config
templates = Iterable::Metadata.new
templates.get

# With custom config
conf = Iterable::Config.new(token: 'new-token')
templates = Iterable::Metadata.new(config)

Public Instance Methods

get() click to toggle source

Get metadata

@return [Iterable::Response] A response object

# File lib/iterable/metadata.rb, line 20
def get
  Iterable.request(conf, '/metadata').get
end