Module: ToNetMeApi::Resolver

Included in:
Client, Namespace
Defined in:
lib/to_net_me_api/resolver.rb

Overview

A mixin for classes that will resolve other classes’ objects via ‘#method_missing`.

Instance Method Summary collapse

Instance Method Details

#resolverHashie::Mash

A ‘Hashie::Mash` structure holding the name and auth_key of current instance.

Returns:

  • (Hashie::Mash)


7
8
9
# File 'lib/to_net_me_api/resolver.rb', line 7

def resolver
  @resolver ||= Hashie::Mash.new(name: @name, auth_key: auth_key)
end