Sha256: d183060bf7f4676eef2aa0b800e5cfc2e40027abe75ae63afca6024b874a8db8

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
finix-0.7 lib/finix/resources/verifiable.rb