Sha256: 33ddcf9c790b10520f8fd1ec2ef7fa430d0f5af9fa6c654d839ad9a94dd9dc44

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

# encoding: utf-8

module Validic
  module Organization

    ##
    # Get Organization base on `access_token` and organization_id
    # 
    # @params :access_token
    # @return [Hashie::Mash] with list of Organization
    def get_organization(params={})
      params = extract_params(params)
      get("/#{Validic.api_version}/organizations/#{Validic.organization_id}.json", params)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
validic-0.3.3 lib/validic/organization.rb
validic-0.3.2 lib/validic/organization.rb