Sha256: 38a2b901703cbaf7cd95506f81b7031abb09331a9570ed80ead7eb7a06e70c7c

Contents?: true

Size: 178 Bytes

Versions: 8

Compression:

Stored size: 178 Bytes

Contents

module PensioAPI
  module Mixins
    module MethodMissing
      def method_missing(method, *args, &block)
        @raw[method.to_s.camelize] || super
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pensio_api-0.3.5 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.3.4 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.3.3 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.3.2 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.3.1 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.3.0 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.2.3 lib/pensio_api/mixins/method_missing.rb
pensio_api-0.2.2 lib/pensio_api/mixins/method_missing.rb