module BcnNi

Constants

VERSION

Public Class Methods

exceptions() click to toggle source
# File lib/bcn_ni/core.rb, line 24
def self.exceptions
  return @@exceptions
end
exchange_day(year, month, day, args = {}) click to toggle source
# File lib/bcn_ni/core.rb, line 15
def self.exchange_day(year, month, day, args = {})
  engine        = BcnNi::Request.new(args)

  result        = engine.exchange_day(year, month, day)
  @@exceptions  = engine.exceptions

  return result
end
exchange_month(year, month, args = {}) click to toggle source
# File lib/bcn_ni/core.rb, line 6
def self.exchange_month(year, month, args = {})
  engine        = BcnNi::Request.new(args)

  result        = engine.exchange_month(year, month)
  @@exceptions  = engine.exceptions

  return result
end