Sha256: 755133e11bcc609f2d4d37a48400e34432176114623573be30bbb2d511be67d9

Contents?: true

Size: 284 Bytes

Versions: 11

Compression:

Stored size: 284 Bytes

Contents

module Finix
  module Verifiable
    def verify(attrs={})
      attrs = attrs.attributes if attrs.is_a?(Finix::Resource)
      return self.verifications.create(attrs) unless self.verifications.nil?
      raise NotImplementedError.new 'not found `verifications` rel'
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
finix-1.0.1 lib/finix/resources/verifiable.rb
finix-1.0.0 lib/finix/resources/verifiable.rb
finix-0.16 lib/finix/resources/verifiable.rb
finix-0.15 lib/finix/resources/verifiable.rb
finix-0.14 lib/finix/resources/verifiable.rb
finix-0.13 lib/finix/resources/verifiable.rb
finix-0.12 lib/finix/resources/verifiable.rb
finix-0.11 lib/finix/resources/verifiable.rb
finix-0.10 lib/finix/resources/verifiable.rb
finix-0.9 lib/finix/resources/verifiable.rb
finix-0.8 lib/finix/resources/verifiable.rb