class RSFServices::PackageMethod

Public Class Methods

new(parent, type: :get) click to toggle source
# File lib/rsf_services.rb, line 15
def initialize(parent, type: :get)
  @parent = parent
  @parent.type = type
end

Private Instance Methods

method_missing(method_name, *args) click to toggle source
# File lib/rsf_services.rb, line 22
def method_missing(method_name, *args)
  Package.new @parent, method_name.to_s
end