class Insights::API::Common::GraphQL::Types::BigInt
Public Class Methods
coerce_input(value, _ctx)
click to toggle source
# File lib/insights/api/common/graphql/types/big_int.rb, line 9 def self.coerce_input(value, _ctx) Integer(value) rescue ArgumentError nil end
coerce_result(value, _ctx)
click to toggle source
# File lib/insights/api/common/graphql/types/big_int.rb, line 15 def self.coerce_result(value, _ctx) value.to_i.to_s end