Sha256: 9a8b0057906cb13ec3bbd403110da4c3e12972486442cfd68fa9dfc3725f9110

Contents?: true

Size: 1.33 KB

Versions: 10

Compression:

Stored size: 1.33 KB

Contents

module NNEClient
  class Finance
    extend NNEClient::ResultAttributes

    def initialize(finance_hash)
      @hash = finance_hash
    end

    attributes :accounting_date,
               :credit_rating,
               :link_pdf,
               :number_of_employees,
               :published_date,
               :year

    float_attributes :assets,
                     :available_funds,
                     :available_funds_ratio,
                     :balance,
                     :capacity_ratio,
                     :contribution_ratio,
                     :current_assets,
                     :depreciations,
                     :fixed_assets,
                     :fixed_cost,
                     :gross_profit,
                     :income_before_income_tax,
                     :long_termed_liability,
                     :lots_and_sites,
                     :net_outcome,
                     :placings,
                     :profit,
                     :profit_for_the_year,
                     :profit_ratio,
                     :return_on_assets,
                     :share_holders_funds_of_interest,
                     :shareholders_funds,
                     :short_termed_liability,
                     :solvency_ratio,
                     :stock,
                     :trade_debitors,
                     :turnover
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nne_client-0.0.11 lib/nne_client/record_types/finance.rb
nne_client-0.0.10 lib/nne_client/record_types/finance.rb
nne_client-0.0.9 lib/nne_client/record_types/finance.rb
nne_client-0.0.8 lib/nne_client/record_types/finance.rb
nne_client-0.0.7 lib/nne_client/record_types/finance.rb
nne_client-0.0.6 lib/nne_client/record_types/finance.rb
nne_client-0.0.5 lib/nne_client/record_types/finance.rb
nne_client-0.0.4 lib/nne_client/record_types/finance.rb
nne_client-0.0.3 lib/nne_client/record_types/finance.rb
nne_client-0.0.2 lib/nne_client/record_types/finance.rb