class Beget::Section

Describes API section

Public Class Methods

new(api, section) click to toggle source
# File lib/beget_api.rb, line 63
def initialize(api, section)
  @api = api
  @section = section
end

Public Instance Methods

method_missing(method, **args) click to toggle source
# File lib/beget_api.rb, line 68
def method_missing(method, **args)
  @api.request(@section, method, **args)
end
respond_to_missing?() click to toggle source
# File lib/beget_api.rb, line 72
def respond_to_missing?
  true
end